/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Pharmacist HIPAA</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * specDomain: S13355 (C-0-T13129-A13130-A13354-S13355-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getPharmacistHIPAA()
 * @model extendedMetaData="name='PharmacistHIPAA'"
 * @generated
 */
public enum PharmacistHIPAA implements Enumerator {
	/**
	 * The '<em><b>183500000N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_183500000N_VALUE
	 * @generated
	 * @ordered
	 */
	_183500000N(0, "_183500000N", "183500000N"),

	/**
	 * The '<em><b>1835G0000N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_1835G0000N_VALUE
	 * @generated
	 * @ordered
	 */
	_1835G0000N(1, "_1835G0000N", "1835G0000N"),

	/**
	 * The '<em><b>1835N0905N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_1835N0905N_VALUE
	 * @generated
	 * @ordered
	 */
	_1835N0905N(2, "_1835N0905N", "1835N0905N"),

	/**
	 * The '<em><b>1835N1003N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_1835N1003N_VALUE
	 * @generated
	 * @ordered
	 */
	_1835N1003N(3, "_1835N1003N", "1835N1003N"),

	/**
	 * The '<em><b>1835P1200N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_1835P1200N_VALUE
	 * @generated
	 * @ordered
	 */
	_1835P1200N(4, "_1835P1200N", "1835P1200N"),

	/**
	 * The '<em><b>1835P1300N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_1835P1300N_VALUE
	 * @generated
	 * @ordered
	 */
	_1835P1300N(5, "_1835P1300N", "1835P1300N");

	/**
	 * The '<em><b>183500000N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>183500000N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_183500000N
	 * @model literal="183500000N"
	 * @generated
	 * @ordered
	 */
	public static final int _183500000N_VALUE = 0;

	/**
	 * The '<em><b>1835G0000N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>1835G0000N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_1835G0000N
	 * @model literal="1835G0000N"
	 * @generated
	 * @ordered
	 */
	public static final int _1835G0000N_VALUE = 1;

	/**
	 * The '<em><b>1835N0905N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>1835N0905N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_1835N0905N
	 * @model literal="1835N0905N"
	 * @generated
	 * @ordered
	 */
	public static final int _1835N0905N_VALUE = 2;

	/**
	 * The '<em><b>1835N1003N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>1835N1003N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_1835N1003N
	 * @model literal="1835N1003N"
	 * @generated
	 * @ordered
	 */
	public static final int _1835N1003N_VALUE = 3;

	/**
	 * The '<em><b>1835P1200N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>1835P1200N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_1835P1200N
	 * @model literal="1835P1200N"
	 * @generated
	 * @ordered
	 */
	public static final int _1835P1200N_VALUE = 4;

	/**
	 * The '<em><b>1835P1300N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>1835P1300N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_1835P1300N
	 * @model literal="1835P1300N"
	 * @generated
	 * @ordered
	 */
	public static final int _1835P1300N_VALUE = 5;

	/**
	 * An array of all the '<em><b>Pharmacist HIPAA</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final PharmacistHIPAA[] VALUES_ARRAY =
		new PharmacistHIPAA[] {
			_183500000N,
			_1835G0000N,
			_1835N0905N,
			_1835N1003N,
			_1835P1200N,
			_1835P1300N,
		};

	/**
	 * A public read-only list of all the '<em><b>Pharmacist HIPAA</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<PharmacistHIPAA> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Pharmacist HIPAA</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PharmacistHIPAA get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			PharmacistHIPAA result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Pharmacist HIPAA</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PharmacistHIPAA getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			PharmacistHIPAA result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Pharmacist HIPAA</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PharmacistHIPAA get(int value) {
		switch (value) {
			case _183500000N_VALUE: return _183500000N;
			case _1835G0000N_VALUE: return _1835G0000N;
			case _1835N0905N_VALUE: return _1835N0905N;
			case _1835N1003N_VALUE: return _1835N1003N;
			case _1835P1200N_VALUE: return _1835P1200N;
			case _1835P1300N_VALUE: return _1835P1300N;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private PharmacistHIPAA(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //PharmacistHIPAA
